package com.wenhao.newfeature.annotation;

/**
 * @author Wenhao Tong
 * @create 2021-07-30 12:21
 */
public class Student {
    @FieldName(value = "姓名")
    private String name;
    @FieldName(value = "年龄")
    @myValidate(min = 0,max = 10)
    private Integer age;
    @FieldName(value = "性别")
    private String sex;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
